/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */
package info.peigen.hotpot.business.product.core.domain;

import info.peigen.hotpot.common.core.domain.DomainObject;
import jakarta.validation.constraints.NotEmpty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(ProductProperty)</b>
 * 商品属性
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2023/11/30
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class ProductProperty extends DomainObject {
    /** skuId */
    @NotEmpty
    String skuId;
    /** 属性名 */
    String name;
    /** 属性值(JSON) */
    String value;
    /** 操作员 */
    String operatorId;
}
